package com.hnd.springframework.beans.factory;

import com.hnd.springframework.beans.BeanException;

/**
 * bean 工厂
 * 负责获取bean
 */
public interface BeanFactory {
    Object getBean(String beanName) throws BeanException;

    Object getBean(String beanName, Object... args) throws BeanException;

    <T> T getBean(String beanName, Class<T> requestType) throws BeanException;
}
